Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support vlan_id and vlan_operation_mode on the hyperv_network_swtch resource #254

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

glin-s6
Copy link

@glin-s6 glin-s6 commented Mar 27, 2024

This adds support for setting the vlanID on hyperv network switches. There's 4 modes and I only added support for 2 of them as they are the only ones I need for my use case. The interface can be expanded to support the other 2 though in the future.

Fixes:

  • hyperv_network_switch could never update because the Powershell command expects a String and not an Object[]

Tested:

  • Creating resource from scratch
  • Updating resource with new vlan id
  • Deleting resource

@glin-s6 glin-s6 changed the title Support vlan_id and vlan_operation_mode on the hyperv_network_swtch resource feat: Support vlan_id and vlan_operation_mode on the hyperv_network_swtch resource Mar 27, 2024
@glin-s6
Copy link
Author

glin-s6 commented Mar 28, 2024

Missed the doc generation step. I've added the generated docs to the PR.

@glin-s6
Copy link
Author

glin-s6 commented Apr 3, 2024

Any chance I can get a review on this? @taliesins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant